<div class="container">
    <div class="row-fluid">
        <div class="span8">
            <legend><strong>Hasil pencarian : {matakuliah}</strong></legend>
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th>No</th>
                        <th>Judul</th>
                        <th>Dosen</th>
                        <th>Upload</th>
                    </tr>
                </thead>
                <tbody>
                    <?php
                    $id = 1;
                    foreach ($matkul as $data):
                        ?>
                        <tr>
                            <td class="span1"><span class="badge badge-info"><?php echo $id ?></span></td>
                            <td><?php echo anchor('materi/detail/' . $data->hash, $data->judul . '     <strong>(' . $data->download . ')</strong>') ?></td>
                            <td><?php echo $data->nama ?></td>
                            <td><?php echo $data->date ?></td>
                        </tr>
                        <?php
                        $id++;
                    endforeach;
                    ?>
                </tbody>
            </table>
        </div>
        <div class="span4">
            <legend>Dosen Yang mengampu</legend>
            <ul>
                <?php foreach ($dosen as $data): ?>
                    <li><i class="icon-user"></i> <?php echo anchor('materi/dosen/' . $data->nama, $data->nama) ?></li>
                <?php endforeach; ?>
            </ul>
        </div>
    </div>
